package com.sss.day35_mvc_mybatis.controller;

import com.sss.day35_mvc_mybatis.util.R;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;

/**
 * 全世界我最爱朴彩英！
 *
 * @Author sss
 * @Create 2023/11/27 14:59
 */
@Controller
public class Demo3UploadController {

    @PostMapping("/upload")
    @ResponseBody
    public R upload(MultipartFile img){

        return R.ok();
    }
}
